inspector: Fix the "Software GL" switch
authorMatthias Clasen <mclasen@redhat.com>
Fri, 28 Feb 2020 19:42:19 +0000 (14:42 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 28 Feb 2020 19:42:19 +0000 (14:42 -0500)
This was crashing.

gtk/inspector/visual.c

index 7fcf9699058c86205189b095b2715ec856698bc1..8136fc3396fe9befc056f852ed2b1ddfff18adf9 100644 (file)
@@ -1049,6 +1049,7 @@ update_gl_flag (GtkSwitch     *sw,
 
 static void
 software_gl_activate (GtkSwitch *sw,
+                      GParamSpec *pspec,
                       GtkInspectorVisual *vis)
 {
   update_gl_flag (sw, GDK_DEBUG_GL_SOFTWARE, vis);